package com.demo.resourcecode.qualifier;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Test {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("com.demo.resourcecode.qualifier");
        System.out.println("context 启动成功");

        Persion persion = context.getBean(Persion.class);
        persion.action();
	}

}
